/*
* @Author: liqs
* @Date:   2021/10/28 11:25
中文翻译地址
ref :https://www.cntofu.com/book/73/ch2-cgo/readme.md
*/

package main

/*
#include <stdio.h>

void printint(int v) {
   printf("printint: %d\n", v);
}
*/
import "C"

func main() {
	v := 42
	C.printint(C.int(v))
}
